/** ###################################################################
**     Filename  : Events.h
**     Project   : Chassis
**     Processor : MC9S12XS128MAE
**     Component : Events
**     Version   : Driver 01.04
**     Compiler  : CodeWarrior HCS12X C Compiler
**     Date/Time : 2016/6/24, 11:36
**     Abstract  :
**         This is user's event module.
**         Put your event handler code here.
**     Settings  :
**     Contents  :
**         No public methods
**
** ###################################################################*/

#ifndef __Events_H
#define __Events_H
/* MODULE Events */

#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
#include "AD1.h"
#include "Calculate.h"
#include "CANsend1.h"
#include "FL_SPEED_TIME.h"
#include "FL_SPEED.h"
#include "FR_SPEED_TIME.h"
#include "FR_SPEED.h"
#include "CAN1.h"
#include "BEEP.h"
#include "Overflow.h"
#include "BUTTON1.h"
#include "BUTTON2.h"
#include "Bit1.h"
#include "CANsend2.h"

#pragma CODE_SEG DEFAULT

void CAN_OnFullRxBuffer(void);



void CANsend1_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  CANsend1_OnInterrupt (module Events)
**
**     Component   :  CANsend1 [TimerInt]
**     Description :
**         When a timer interrupt occurs this event is called (only
**         when the component is enabled - <Enable> and the events are
**         enabled - <EnableEvent>). This event is enabled only if a
**         <interrupt service/event> is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void Calculate_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  Calculate_OnInterrupt (module Events)
**
**     Component   :  Calculate [TimerInt]
**     Description :
**         When a timer interrupt occurs this event is called (only
**         when the component is enabled - <Enable> and the events are
**         enabled - <EnableEvent>). This event is enabled only if a
**         <interrupt service/event> is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void AD1_OnEnd(void);
/*
** ===================================================================
**     Event       :  AD1_OnEnd (module Events)
**
**     Component   :  AD1 [ADC]
**     Description :
**         This event is called after the measurement (which
**         consists of <1 or more conversions>) is/are finished.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void FR_SPEED_OnCapture(void);
/*
** ===================================================================
**     Event       :  FR_SPEED_OnCapture (module Events)
**
**     Component   :  FR_SPEED [Capture]
**     Description :
**         This event is called on capturing of Timer/Counter actual
**         value (only when the component is enabled - <Enable> and the
**         events are enabled - <EnableEvent>.This event is available
**         only if a <interrupt service/event> is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void FL_SPEED_OnCapture(void);
/*
** ===================================================================
**     Event       :  FL_SPEED_OnCapture (module Events)
**
**     Component   :  FL_SPEED [Capture]
**     Description :
**         This event is called on capturing of Timer/Counter actual
**         value (only when the component is enabled - <Enable> and the
**         events are enabled - <EnableEvent>.This event is available
**         only if a <interrupt service/event> is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void FL_SPEED_OnOverflow(void);
/*
** ===================================================================
**     Event       :  FL_SPEED_OnOverflow (module Events)
**
**     Component   :  FL_SPEED [Capture]
**     Description :
**         This event is called if counter overflows (only when the
**         component is enabled - <Enable> and the events are enabled -
**         <EnableEvent>.This event is available only if a <interrupt
**         service/event> is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void Overflow_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  Overflow_OnInterrupt (module Events)
**
**     Component   :  Overflow [TimerInt]
**     Description :
**         When a timer interrupt occurs this event is called (only
**         when the component is enabled - <Enable> and the events are
**         enabled - <EnableEvent>). This event is enabled only if a
**         <interrupt service/event> is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void CANsend2_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  CANsend2_OnInterrupt (module Events)
**
**     Component   :  CANsend2 [TimerInt]
**     Description :
**         When a timer interrupt occurs this event is called (only
**         when the component is enabled - <Enable> and the events are
**         enabled - <EnableEvent>). This event is enabled only if a
**         <interrupt service/event> is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

/* END Events */
#endif /* __Events_H*/

/*
** ###################################################################
**
**     This file was created by Processor Expert 3.02 [04.44]
**     for the Freescale HCS12X series of microcontrollers.
**
** ###################################################################
*/
